package com.atguigu.gmall.weball;

import com.atguigu.gmall.common.exception.annotation.EnableAutoExceptionHandle;
import com.atguigu.gmall.common.interceptor.annotation.EnableReqHeaderInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author:lyd
 * @Date:2023/8/18 18:08
 * @Version:1.0
 * @Description
 **/

@EnableReqHeaderInterceptor
@EnableAutoExceptionHandle
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign")//开启feign的注册
@SpringCloudApplication
public class WebAllApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebAllApplication.class, args);
    }
}
